/*
 * ExpressinoStatement.cpp
 *
 *  Created on: 05/05/2010
 *      Author: rodolfo
 */

#include "ExpressionStatement.h"

ExpressionStatement::ExpressionStatement() : Statement ( expStm )
{

}

ExpressionStatement::ExpressionStatement ( Expression *exp ) :
        exp ( exp ), Statement ( expStm )
{
}

ExpressionStatement::~ExpressionStatement()
{
	if ( exp != 0 )
		delete exp;
}

